using System;
using ERP_RORZE_TOOL.DBAccess;
namespace ERP_RORZE_ORDER.Common.ValueObject
{
    [Serializable]
	public class Order : BaseDAO
	{
			#region Members
			protected int iD;
			protected string orderID;
			protected DateTime date;
			protected string staffID;
            protected int approved;
            protected string tempId;
			#endregion
			#region Public Properties

			/// <summary>
			/// Property relating to database column ID(int,not null)
			/// </summary>
			public int ID
			{
				get { return iD; }
				set { iD = value; }
			}

			/// <summary>
			/// Property relating to database column OrderID(nvarchar(50),null)
			/// </summary>
			public string OrderID
			{
				get { return orderID; }
				set { orderID = value; }
			}

			/// <summary>
			/// Property relating to database column Date(datetime,null)
			/// </summary>
			public DateTime Date
			{
				get { return date; }
				set { date = value; }
			}

			/// <summary>
			/// Property relating to database column StaffID(nvarchar(50),null)
			/// </summary>
			public string StaffID
			{
				get { return staffID; }
				set { staffID = value; }
			}

			/// <summary>
			/// Property relating to database column Approved(int,null)
			/// </summary>
			public int Approved
			{
				get { return approved; }
				set { approved = value; }
			}

            public string TempId
            {
                get
                {
                    return tempId;
                }
                set
                {
                    tempId = value;
                }
            }
			#endregion
	}
}
